//
//  SupDetailTableViewCell.m
//  艾听歌
//
//  Created by dllo on 16/5/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SupDetailTableViewCell.h"

@implementation SupDetailTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.headerImage = [[UIImageView alloc] init];
//        self.headerImage.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:self.headerImage];
        
        self.name = [[UILabel alloc] init];
//        self.name.backgroundColor = [UIColor blackColor];
        [self.contentView addSubview:self.name];
    }
    return self;
}


- (void)layoutSubviews
{
    [super layoutSubviews];
    self.headerImage.frame = CGRectMake(10, 10, 60, 60);
    
    self.name.frame = CGRectMake(80, 25, 60, 20);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
